mas_service_license
Configuration for NetScaler Console License Information resource.
Read/write properties
start_date<String>
Start date of license subscription.
approved<Boolean>
Approved.
end_time<Double>
License expires at this timestamp.
id<String>
Id is system generated key.
entitlement_id<String>
Entitlement Id for the license file.
end_date<String>
Expiry date of license subscription.
customer_id<String>
Customer Id for the tenant who has purchased the license.
start_time<Double>
License validity starts from this timestamp.
serial_numbers<String>
SerialNumbers.
quantity<String>
Number of Licenses of the type purchased.
lic_type<Integer>
0 = Trial Period, 1 = Licensed, 2 = Grace period, 3 = Unlicensed, 4 = Canceled.
entitlement_type<String>
Entitlement Type eg. ProductionTrial.
product_sku<String>
Product SKU of the License which specifies the type of license : VIPs, Storage or ThirdParty VIPS.
Read only properties
max_tp_vservers<String>
Maximum Third Party Vservers.
max_vips<String>
Maximum VIPs.
max_storage<String>
Maximum Storage for the license in GB.
total_allowed_vips<Integer>
Total Allowed VIPs.
total_allowed_tp_vips<Integer>
Total Allowed Third Party Vservres.
days_to_expire<Integer>
Days to expire.
entitled_db_storage<Double>
Total entitled DB storage.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/mas_service_license
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mas_service_license":[{
"max_tp_vservers":<String_value>,
"start_date":<String_value>,
"approved":<Boolean_value>,
"end_time":<Double_value>,
"id":<String_value>,
"entitlement_id":<String_value>,
"max_vips":<String_value>,
"end_date":<String_value>,
"customer_id":<String_value>,
"start_time":<Double_value>,
"max_storage":<String_value>,
"serial_numbers":<String_value>,
"quantity":<String_value>,
"lic_type":<Integer_value>,
"entitlement_type":<String_value>,
"product_sku":<String_value>,
"total_allowed_vips":<Integer_value>,
"total_allowed_tp_vips":<Integer_value>,
"days_to_expire":<Integer_value>,
"entitled_db_storage":<Double_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/mas_service_license/id_value<String>
HTTPS Method:PUT
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"mas_service_license":{
"product_sku":<String_value>,
"customer_id":<String_value>,
"entitlement_id":<String_value>,
"end_time":<Double_value>,
"entitlement_type":<String_value>,
"id":<String_value>,
"start_date":<String_value>,
"lic_type":<Integer_value>,
"serial_numbers":<String_value>,
"quantity":<String_value>,
"start_time":<Double_value>,
"end_date":<String_value>,
"approved":<Boolean_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "mas_service_license":[{
"max_tp_vservers":<String_value>,
"start_date":<String_value>,
"approved":<Boolean_value>,
"end_time":<Double_value>,
"id":<String_value>,
"entitlement_id":<String_value>,
"max_vips":<String_value>,
"end_date":<String_value>,
"customer_id":<String_value>,
"start_time":<Double_value>,
"max_storage":<String_value>,
"serial_numbers":<String_value>,
"quantity":<String_value>,
"lic_type":<Integer_value>,
"entitlement_type":<String_value>,
"product_sku":<String_value>,
"total_allowed_vips":<Integer_value>,
"total_allowed_tp_vips":<Integer_value>,
"days_to_expire":<Integer_value>,
"entitled_db_storage":<Double_value>}]}